import request from "@/common/request"

//生成左树右表示例左树数据展示
export const leftTreeList = (queryForm) => {
    return request("get", "/temp/tempTree/tree", queryForm);
}

//生成左树右表示例分页展示
export const temptreetablePage = (queryForm) => {
    return request("get", "/temp/tempTreeTable/page", queryForm);
}
//生成左树右表示例列表展示
export const temptreetableList = (queryForm) => {
    return request("get", "/temp/tempTreeTable/list", queryForm);
}
//生成左树右表示例详情
export const temptreetableInfo = (id) => {
    return request('get', '/temp/tempTreeTable/info', {
        id: id
    })
}
//生成左树右表示例信息保存
export const temptreetableSave = (data) => {
    return request('post', '/temp/tempTreeTable/save', data)
}
//生成左树右表示例信息修改
export const temptreetableEdit = (data) => {
    return request('post', '/temp/tempTreeTable/edit', data)
}
//生成左树右表示例信息删除
export const temptreetableDel = (id) => {
    return request('post', '/temp/tempTreeTable/delete?id=' + id)
}
//生成左树右表示例批量删除
export const temptreetableDelBatch = (ids) => {
    return request('post', '/temp/tempTreeTable/deleteBatch', ids)
}
//生成左树右表示例动态表头导出
export const temptreetableDynamicExport = (data) => {
    return request("eptpost", '/temp/tempTreeTable/exportDynamic', data)
}
